package com.fight.strive.sys.modules.rbac.dto;

import com.fight.strive.sys.modules.rbac.entity.RbacUserEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class RbacUserDto extends RbacUserEntity {

    /**
     * 关键字查询
     */
    private String keywords;

    /**
     * 部门ID，查询
     */
    private Long departmentId;

    /**
     * 用户所在的部门
     */
    private List<RbacUserDepartmentDto> departments;
}
